package com.ozo.cloud.api.manage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 角色 视图对象
 * </p>
 *
 * @author qiangesoft
 * @since 2024-07-11
 */
@Schema(description = "角色视图对象")
@Data
@NoArgsConstructor
public class SysRoleVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;

    @Schema(description = "角色类型：1-内置 2-新增")
    private String roleType;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色编码")
    private String roleCode;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态：1-启用 0-禁用")
    private String status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
